package com.yihubang.taobaokotlin.model

import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Url

/*
 * class title: 
 * Author by RenChunLin, Email 18957806320@163.com, Date on 2021/5/10.
 * PS: Not easy to write code, please indicate.
 */
interface Api {
    @GET("discovery/categories")
    fun getCategories(): Call<Categories>

    @GET
    fun getHomePageContent(@Url url: String): Call<HomePagerContent>
}